projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e5df33
)
iconview: Get rid of gdk_drawable_get_size() usage
author
Benjamin Otte
<otte@redhat.com>
Mon, 20 Sep 2010 14:39:14 +0000
(16:39 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:44 +0000
(15:11 +0200)
gtk/gtkiconview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkiconview.c
b/gtk/gtkiconview.c
index 240dcd7ef3f3d9892e8169e2e2e29f88d5346087..efa7ae54a0f09508c25b50b9c9f94ea8d82ae1fa 100644
(file)
--- a/
gtk/gtkiconview.c
+++ b/
gtk/gtkiconview.c
@@
-4455,8
+4455,8
@@
gtk_icon_view_scroll_to_item (GtkIconView *icon_view,
"focus-line-width", &focus_width,
NULL);
- gdk_drawable_get_size (GDK_DRAWABLE (icon_view->priv->bin_window),
-
&width, &height
);
+ width = gdk_window_get_width (icon_view->priv->bin_window);
+
height = gdk_window_get_height (icon_view->priv->bin_window
);
gdk_window_get_position (icon_view->priv->bin_window, &x, &y);
gtk_widget_get_allocation (widget, &allocation);